|
Gosu is an open source 2D game development library for the Ruby and C++ programming languages, available for Mac OS X, Windows and Linux. The C++ version is also available for iPhone and iPad. Gosu is known for its ease of use and performance, being one of the preferred libraries on game development timed competitions.〔http://www.ludumdare.com/compo/2007/12/11/another-library-suitable-for-timed-competitions-rubygosu/〕 It comes with extensive documentation.〔http://www.libgosu.org/cpp〕 It is released under the MIT license. == Features == The library offers easy object-oriented interfaces to access common resources: * Hardware-accelerated 2D graphics and text. * Sound samples and music in various formats. * Keyboard, mouse and gamepad input. The library also offers extensive additional functionality including networking, advanced color operations, mathematical functions, locale operations and more. As a game development library, it's completely adapted to the classic game structure, featuring separated steps for processing logic, user input, and screen drawing. Gosu aims to contain everything that is necessary to write a game in clean C++ or Ruby code,〔https://code.google.com/p/gosu/wiki/DesignRationale〕 letting the user forget about low level and boilerplate code. For example, the minimum Ruby code needed to open a blank window consists of merely two lines of code: the C++ equivalent is nearly identical: Furthermore, a simple operation, like loading and drawing an image, that would take up to three different functions and two datatypes on SDL can be easily done with just one class and one of its methods on Gosu. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Gosu (library)」の詳細全文を読む スポンサード リンク
|